package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.AccountProvinceMapper;
import com.hcb.micro.dto.AccountProvince;
import com.hcb.micro.service.IAccountProvinceService;

@Service("AccountProvinceService")
public class AccountProvinceServiceImpl implements IAccountProvinceService {

	@Autowired
	AccountProvinceMapper accountProvinceMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return accountProvinceMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(AccountProvince record) {
		return accountProvinceMapper.insert(record);
	}

	@Override
	public int insertSelective(AccountProvince record) {
		return accountProvinceMapper.insertSelective(record);
	}

	@Override
	public AccountProvince selectByPrimaryKey(Integer id) {
		return accountProvinceMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(AccountProvince record) {
		return accountProvinceMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(AccountProvince record) {
		return accountProvinceMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<AccountProvince> selectByPara(Map<String, Object> para) {
		return accountProvinceMapper.selectByPara(para);
	}

}
